package com.sharkpro.designPattern.myAdapter;

/**
 * @author jianxin.wei
 * @description 调用
 * @date 2024/12/17 11:29
 */
public class Main {
    public static void main(String[] args) {
        Print print = new PrintBanner("Hello");
        print.printWeak();
        print.printStrong();
//        System.out.println("===============");
        PrintDelegation printDelegation = new PrintBannerDelegation("Hello Delegation");
        printDelegation.printWeak();
        printDelegation.printStrong();

        PrintBanner hello = new PrintBanner("Hello");
        hello.showWithAster();
        hello.showWithParen();

    }
}
